package com.automatastudios.logic {	public class PastaState {		private var _name:String;		private var _group:String;		private var _actionTable:Object;				public function PastaState(name:String, group:String):void {			_name = name;			_group = group;			_actionTable = new Object();			}				public function addAction(action:PastaAction):void {			_actionTable[action.name] = action;		}				public function get name():String {			return _name;			}				public function get group():String {			return _group;			}				public function getAction(name:String):PastaAction {			return _actionTable[name];		}				public function getAllActions():Array {			var result:Array = new Array();			var p:String;						for (p in _actionTable) {				result.push(_actionTable[p]);				}						return result;				}	}}